3.59 \(\int x^2 \cosh (a+b \sqrt{c+d x}) \, dx\)

Optimal. Leaf size=346 \[ -\frac{2 c^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{40 (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}-\frac{24 c \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}+\frac{240 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^5 d^3}-\frac{10 (c+d x)^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{12 c (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{120 (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}+\frac{24 c \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}-\frac{240 \cosh \left (a+b \sqrt{c+d x}\right )}{b^6 d^3}+\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3} \]

[Out]

(-240*Cosh[a + b*Sqrt[c + d*x]])/(b^6*d^3) + (24*c*Cosh[a + b*Sqrt[c + d*x]])/(b^4*d^3) - (2*c^2*Cosh[a + b*Sq
rt[c + d*x]])/(b^2*d^3) - (120*(c + d*x)*Cosh[a + b*Sqrt[c + d*x]])/(b^4*d^3) + (12*c*(c + d*x)*Cosh[a + b*Sqr
t[c + d*x]])/(b^2*d^3) - (10*(c + d*x)^2*Cosh[a + b*Sqrt[c + d*x]])/(b^2*d^3) + (240*Sqrt[c + d*x]*Sinh[a + b*
Sqrt[c + d*x]])/(b^5*d^3) - (24*c*Sqrt[c + d*x]*Sinh[a + b*Sqrt[c + d*x]])/(b^3*d^3) + (2*c^2*Sqrt[c + d*x]*Si
nh[a + b*Sqrt[c + d*x]])/(b*d^3) + (40*(c + d*x)^(3/2)*Sinh[a + b*Sqrt[c + d*x]])/(b^3*d^3) - (4*c*(c + d*x)^(
3/2)*Sinh[a + b*Sqrt[c + d*x]])/(b*d^3) + (2*(c + d*x)^(5/2)*Sinh[a + b*Sqrt[c + d*x]])/(b*d^3)

________________________________________________________________________________________

Rubi [A]  time = 0.424082, antiderivative size = 346, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 4, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {5365, 5287, 3296, 2638} \[ -\frac{2 c^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{40 (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}-\frac{24 c \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}+\frac{240 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^5 d^3}-\frac{10 (c+d x)^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{12 c (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{120 (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}+\frac{24 c \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}-\frac{240 \cosh \left (a+b \sqrt{c+d x}\right )}{b^6 d^3}+\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3} \]

Antiderivative was successfully verified.

[In]

Int[x^2*Cosh[a + b*Sqrt[c + d*x]],x]

[Out]

(-240*Cosh[a + b*Sqrt[c + d*x]])/(b^6*d^3) + (24*c*Cosh[a + b*Sqrt[c + d*x]])/(b^4*d^3) - (2*c^2*Cosh[a + b*Sq
rt[c + d*x]])/(b^2*d^3) - (120*(c + d*x)*Cosh[a + b*Sqrt[c + d*x]])/(b^4*d^3) + (12*c*(c + d*x)*Cosh[a + b*Sqr
t[c + d*x]])/(b^2*d^3) - (10*(c + d*x)^2*Cosh[a + b*Sqrt[c + d*x]])/(b^2*d^3) + (240*Sqrt[c + d*x]*Sinh[a + b*
Sqrt[c + d*x]])/(b^5*d^3) - (24*c*Sqrt[c + d*x]*Sinh[a + b*Sqrt[c + d*x]])/(b^3*d^3) + (2*c^2*Sqrt[c + d*x]*Si
nh[a + b*Sqrt[c + d*x]])/(b*d^3) + (40*(c + d*x)^(3/2)*Sinh[a + b*Sqrt[c + d*x]])/(b^3*d^3) - (4*c*(c + d*x)^(
3/2)*Sinh[a + b*Sqrt[c + d*x]])/(b*d^3) + (2*(c + d*x)^(5/2)*Sinh[a + b*Sqrt[c + d*x]])/(b*d^3)

Rule 5365

Int[((a_.) + Cosh[(c_.) + (d_.)*(u_)^(n_)]*(b_.))^(p_.)*(x_)^(m_.), x_Symbol] :> Dist[1/Coefficient[u, x, 1]^(
m + 1), Subst[Int[(x - Coefficient[u, x, 0])^m*(a + b*Cosh[c + d*x^n])^p, x], x, u], x] /; FreeQ[{a, b, c, d,
n, p}, x] && LinearQ[u, x] && NeQ[u, x] && IntegerQ[m]

Rule 5287

Int[Cosh[(c_.) + (d_.)*(x_)]*((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[ExpandIntegra
nd[Cosh[c + d*x], (e*x)^m*(a + b*x^n)^p, x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && IGtQ[p, 0]

Rule 3296

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> -Simp[((c + d*x)^m*Cos[e + f*x])/f, x] +
Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Cos[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && GtQ[m, 0]

Rule 2638

Int[sin[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[Cos[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rubi steps

\begin{align*} \int x^2 \cosh \left (a+b \sqrt{c+d x}\right ) \, dx &=\frac{\operatorname{Subst}\left (\int (-c+x)^2 \cosh \left (a+b \sqrt{x}\right ) \, dx,x,c+d x\right )}{d^3}\\ &=\frac{2 \operatorname{Subst}\left (\int x \left (c-x^2\right )^2 \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{d^3}\\ &=\frac{2 \operatorname{Subst}\left (\int \left (c^2 x \cosh (a+b x)-2 c x^3 \cosh (a+b x)+x^5 \cosh (a+b x)\right ) \, dx,x,\sqrt{c+d x}\right )}{d^3}\\ &=\frac{2 \operatorname{Subst}\left (\int x^5 \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{d^3}-\frac{(4 c) \operatorname{Subst}\left (\int x^3 \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{d^3}+\frac{\left (2 c^2\right ) \operatorname{Subst}\left (\int x \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{d^3}\\ &=\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}-\frac{10 \operatorname{Subst}\left (\int x^4 \sinh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b d^3}+\frac{(12 c) \operatorname{Subst}\left (\int x^2 \sinh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b d^3}-\frac{\left (2 c^2\right ) \operatorname{Subst}\left (\int \sinh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b d^3}\\ &=-\frac{2 c^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{12 c (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{10 (c+d x)^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{40 \operatorname{Subst}\left (\int x^3 \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b^2 d^3}-\frac{(24 c) \operatorname{Subst}\left (\int x \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b^2 d^3}\\ &=-\frac{2 c^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{12 c (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{10 (c+d x)^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{24 c \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}+\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{40 (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}-\frac{120 \operatorname{Subst}\left (\int x^2 \sinh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b^3 d^3}+\frac{(24 c) \operatorname{Subst}\left (\int \sinh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b^3 d^3}\\ &=\frac{24 c \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}-\frac{2 c^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{120 (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}+\frac{12 c (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{10 (c+d x)^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{24 c \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}+\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{40 (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{240 \operatorname{Subst}\left (\int x \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b^4 d^3}\\ &=\frac{24 c \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}-\frac{2 c^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{120 (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}+\frac{12 c (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{10 (c+d x)^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{240 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^5 d^3}-\frac{24 c \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}+\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{40 (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}-\frac{240 \operatorname{Subst}\left (\int \sinh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b^5 d^3}\\ &=-\frac{240 \cosh \left (a+b \sqrt{c+d x}\right )}{b^6 d^3}+\frac{24 c \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}-\frac{2 c^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{120 (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^4 d^3}+\frac{12 c (c+d x) \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}-\frac{10 (c+d x)^2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d^3}+\frac{240 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^5 d^3}-\frac{24 c \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}+\frac{2 c^2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{40 (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b^3 d^3}-\frac{4 c (c+d x)^{3/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}+\frac{2 (c+d x)^{5/2} \sinh \left (a+b \sqrt{c+d x}\right )}{b d^3}\\ \end{align*}

Mathematica [A]  time = 0.502804, size = 104, normalized size = 0.3 \[ \frac{2 b \sqrt{c+d x} \left (4 b^2 (2 c+5 d x)+b^4 d^2 x^2+120\right ) \sinh \left (a+b \sqrt{c+d x}\right )-2 \left (b^4 d x (4 c+5 d x)+12 b^2 (4 c+5 d x)+120\right ) \cosh \left (a+b \sqrt{c+d x}\right )}{b^6 d^3} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*Cosh[a + b*Sqrt[c + d*x]],x]

[Out]

(-2*(120 + 12*b^2*(4*c + 5*d*x) + b^4*d*x*(4*c + 5*d*x))*Cosh[a + b*Sqrt[c + d*x]] + 2*b*Sqrt[c + d*x]*(120 +
b^4*d^2*x^2 + 4*b^2*(2*c + 5*d*x))*Sinh[a + b*Sqrt[c + d*x]])/(b^6*d^3)

________________________________________________________________________________________

Maple [B]  time = 0.02, size = 831, normalized size = 2.4 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*cosh(a+b*(d*x+c)^(1/2)),x)

[Out]

2/d^3/b^2*(1/b^4*((a+b*(d*x+c)^(1/2))^5*sinh(a+b*(d*x+c)^(1/2))-5*(a+b*(d*x+c)^(1/2))^4*cosh(a+b*(d*x+c)^(1/2)
)+20*(a+b*(d*x+c)^(1/2))^3*sinh(a+b*(d*x+c)^(1/2))-60*(a+b*(d*x+c)^(1/2))^2*cosh(a+b*(d*x+c)^(1/2))+120*(a+b*(
d*x+c)^(1/2))*sinh(a+b*(d*x+c)^(1/2))-120*cosh(a+b*(d*x+c)^(1/2)))-5/b^4*a*((a+b*(d*x+c)^(1/2))^4*sinh(a+b*(d*
x+c)^(1/2))-4*(a+b*(d*x+c)^(1/2))^3*cosh(a+b*(d*x+c)^(1/2))+12*(a+b*(d*x+c)^(1/2))^2*sinh(a+b*(d*x+c)^(1/2))-2
4*(a+b*(d*x+c)^(1/2))*cosh(a+b*(d*x+c)^(1/2))+24*sinh(a+b*(d*x+c)^(1/2)))+10/b^4*a^2*((a+b*(d*x+c)^(1/2))^3*si
nh(a+b*(d*x+c)^(1/2))-3*(a+b*(d*x+c)^(1/2))^2*cosh(a+b*(d*x+c)^(1/2))+6*(a+b*(d*x+c)^(1/2))*sinh(a+b*(d*x+c)^(
1/2))-6*cosh(a+b*(d*x+c)^(1/2)))-10/b^4*a^3*((a+b*(d*x+c)^(1/2))^2*sinh(a+b*(d*x+c)^(1/2))-2*(a+b*(d*x+c)^(1/2
))*cosh(a+b*(d*x+c)^(1/2))+2*sinh(a+b*(d*x+c)^(1/2)))-2/b^2*c*((a+b*(d*x+c)^(1/2))^3*sinh(a+b*(d*x+c)^(1/2))-3
*(a+b*(d*x+c)^(1/2))^2*cosh(a+b*(d*x+c)^(1/2))+6*(a+b*(d*x+c)^(1/2))*sinh(a+b*(d*x+c)^(1/2))-6*cosh(a+b*(d*x+c
)^(1/2)))+6/b^2*c*a*((a+b*(d*x+c)^(1/2))^2*sinh(a+b*(d*x+c)^(1/2))-2*(a+b*(d*x+c)^(1/2))*cosh(a+b*(d*x+c)^(1/2
))+2*sinh(a+b*(d*x+c)^(1/2)))+5*a^4/b^4*((a+b*(d*x+c)^(1/2))*sinh(a+b*(d*x+c)^(1/2))-cosh(a+b*(d*x+c)^(1/2)))-
6*a^2/b^2*c*((a+b*(d*x+c)^(1/2))*sinh(a+b*(d*x+c)^(1/2))-cosh(a+b*(d*x+c)^(1/2)))-a^5/b^4*sinh(a+b*(d*x+c)^(1/
2))+2*a^3/b^2*c*sinh(a+b*(d*x+c)^(1/2))+c^2*((a+b*(d*x+c)^(1/2))*sinh(a+b*(d*x+c)^(1/2))-cosh(a+b*(d*x+c)^(1/2
)))-c^2*a*sinh(a+b*(d*x+c)^(1/2)))

________________________________________________________________________________________

Maxima [A]  time = 1.16127, size = 656, normalized size = 1.9 \begin{align*} \frac{2 \, d^{3} x^{3} \cosh \left (\sqrt{d x + c} b + a\right ) +{\left (\frac{c^{3} e^{\left (\sqrt{d x + c} b + a\right )}}{b} + \frac{c^{3} e^{\left (-\sqrt{d x + c} b - a\right )}}{b} - \frac{3 \,{\left ({\left (d x + c\right )} b^{2} e^{a} - 2 \, \sqrt{d x + c} b e^{a} + 2 \, e^{a}\right )} c^{2} e^{\left (\sqrt{d x + c} b\right )}}{b^{3}} - \frac{3 \,{\left ({\left (d x + c\right )} b^{2} + 2 \, \sqrt{d x + c} b + 2\right )} c^{2} e^{\left (-\sqrt{d x + c} b - a\right )}}{b^{3}} + \frac{3 \,{\left ({\left (d x + c\right )}^{2} b^{4} e^{a} - 4 \,{\left (d x + c\right )}^{\frac{3}{2}} b^{3} e^{a} + 12 \,{\left (d x + c\right )} b^{2} e^{a} - 24 \, \sqrt{d x + c} b e^{a} + 24 \, e^{a}\right )} c e^{\left (\sqrt{d x + c} b\right )}}{b^{5}} + \frac{3 \,{\left ({\left (d x + c\right )}^{2} b^{4} + 4 \,{\left (d x + c\right )}^{\frac{3}{2}} b^{3} + 12 \,{\left (d x + c\right )} b^{2} + 24 \, \sqrt{d x + c} b + 24\right )} c e^{\left (-\sqrt{d x + c} b - a\right )}}{b^{5}} - \frac{{\left ({\left (d x + c\right )}^{3} b^{6} e^{a} - 6 \,{\left (d x + c\right )}^{\frac{5}{2}} b^{5} e^{a} + 30 \,{\left (d x + c\right )}^{2} b^{4} e^{a} - 120 \,{\left (d x + c\right )}^{\frac{3}{2}} b^{3} e^{a} + 360 \,{\left (d x + c\right )} b^{2} e^{a} - 720 \, \sqrt{d x + c} b e^{a} + 720 \, e^{a}\right )} e^{\left (\sqrt{d x + c} b\right )}}{b^{7}} - \frac{{\left ({\left (d x + c\right )}^{3} b^{6} + 6 \,{\left (d x + c\right )}^{\frac{5}{2}} b^{5} + 30 \,{\left (d x + c\right )}^{2} b^{4} + 120 \,{\left (d x + c\right )}^{\frac{3}{2}} b^{3} + 360 \,{\left (d x + c\right )} b^{2} + 720 \, \sqrt{d x + c} b + 720\right )} e^{\left (-\sqrt{d x + c} b - a\right )}}{b^{7}}\right )} b}{6 \, d^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*cosh(a+b*(d*x+c)^(1/2)),x, algorithm="maxima")

[Out]

1/6*(2*d^3*x^3*cosh(sqrt(d*x + c)*b + a) + (c^3*e^(sqrt(d*x + c)*b + a)/b + c^3*e^(-sqrt(d*x + c)*b - a)/b - 3
*((d*x + c)*b^2*e^a - 2*sqrt(d*x + c)*b*e^a + 2*e^a)*c^2*e^(sqrt(d*x + c)*b)/b^3 - 3*((d*x + c)*b^2 + 2*sqrt(d
*x + c)*b + 2)*c^2*e^(-sqrt(d*x + c)*b - a)/b^3 + 3*((d*x + c)^2*b^4*e^a - 4*(d*x + c)^(3/2)*b^3*e^a + 12*(d*x
 + c)*b^2*e^a - 24*sqrt(d*x + c)*b*e^a + 24*e^a)*c*e^(sqrt(d*x + c)*b)/b^5 + 3*((d*x + c)^2*b^4 + 4*(d*x + c)^
(3/2)*b^3 + 12*(d*x + c)*b^2 + 24*sqrt(d*x + c)*b + 24)*c*e^(-sqrt(d*x + c)*b - a)/b^5 - ((d*x + c)^3*b^6*e^a
- 6*(d*x + c)^(5/2)*b^5*e^a + 30*(d*x + c)^2*b^4*e^a - 120*(d*x + c)^(3/2)*b^3*e^a + 360*(d*x + c)*b^2*e^a - 7
20*sqrt(d*x + c)*b*e^a + 720*e^a)*e^(sqrt(d*x + c)*b)/b^7 - ((d*x + c)^3*b^6 + 6*(d*x + c)^(5/2)*b^5 + 30*(d*x
 + c)^2*b^4 + 120*(d*x + c)^(3/2)*b^3 + 360*(d*x + c)*b^2 + 720*sqrt(d*x + c)*b + 720)*e^(-sqrt(d*x + c)*b - a
)/b^7)*b)/d^3

________________________________________________________________________________________

Fricas [A]  time = 1.97945, size = 251, normalized size = 0.73 \begin{align*} \frac{2 \,{\left ({\left (b^{5} d^{2} x^{2} + 20 \, b^{3} d x + 8 \, b^{3} c + 120 \, b\right )} \sqrt{d x + c} \sinh \left (\sqrt{d x + c} b + a\right ) -{\left (5 \, b^{4} d^{2} x^{2} + 48 \, b^{2} c + 4 \,{\left (b^{4} c + 15 \, b^{2}\right )} d x + 120\right )} \cosh \left (\sqrt{d x + c} b + a\right )\right )}}{b^{6} d^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*cosh(a+b*(d*x+c)^(1/2)),x, algorithm="fricas")

[Out]

2*((b^5*d^2*x^2 + 20*b^3*d*x + 8*b^3*c + 120*b)*sqrt(d*x + c)*sinh(sqrt(d*x + c)*b + a) - (5*b^4*d^2*x^2 + 48*
b^2*c + 4*(b^4*c + 15*b^2)*d*x + 120)*cosh(sqrt(d*x + c)*b + a))/(b^6*d^3)

________________________________________________________________________________________

Sympy [A]  time = 2.14372, size = 269, normalized size = 0.78 \begin{align*} \begin{cases} \frac{x^{3} \cosh{\left (a \right )}}{3} & \text{for}\: b = 0 \wedge \left (b = 0 \vee d = 0\right ) \\\frac{x^{3} \cosh{\left (a + b \sqrt{c} \right )}}{3} & \text{for}\: d = 0 \\\frac{2 x^{2} \sqrt{c + d x} \sinh{\left (a + b \sqrt{c + d x} \right )}}{b d} - \frac{8 c x \cosh{\left (a + b \sqrt{c + d x} \right )}}{b^{2} d^{2}} - \frac{10 x^{2} \cosh{\left (a + b \sqrt{c + d x} \right )}}{b^{2} d} + \frac{16 c \sqrt{c + d x} \sinh{\left (a + b \sqrt{c + d x} \right )}}{b^{3} d^{3}} + \frac{40 x \sqrt{c + d x} \sinh{\left (a + b \sqrt{c + d x} \right )}}{b^{3} d^{2}} - \frac{96 c \cosh{\left (a + b \sqrt{c + d x} \right )}}{b^{4} d^{3}} - \frac{120 x \cosh{\left (a + b \sqrt{c + d x} \right )}}{b^{4} d^{2}} + \frac{240 \sqrt{c + d x} \sinh{\left (a + b \sqrt{c + d x} \right )}}{b^{5} d^{3}} - \frac{240 \cosh{\left (a + b \sqrt{c + d x} \right )}}{b^{6} d^{3}} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*cosh(a+b*(d*x+c)**(1/2)),x)

[Out]

Piecewise((x**3*cosh(a)/3, Eq(b, 0) & (Eq(b, 0) | Eq(d, 0))), (x**3*cosh(a + b*sqrt(c))/3, Eq(d, 0)), (2*x**2*
sqrt(c + d*x)*sinh(a + b*sqrt(c + d*x))/(b*d) - 8*c*x*cosh(a + b*sqrt(c + d*x))/(b**2*d**2) - 10*x**2*cosh(a +
 b*sqrt(c + d*x))/(b**2*d) + 16*c*sqrt(c + d*x)*sinh(a + b*sqrt(c + d*x))/(b**3*d**3) + 40*x*sqrt(c + d*x)*sin
h(a + b*sqrt(c + d*x))/(b**3*d**2) - 96*c*cosh(a + b*sqrt(c + d*x))/(b**4*d**3) - 120*x*cosh(a + b*sqrt(c + d*
x))/(b**4*d**2) + 240*sqrt(c + d*x)*sinh(a + b*sqrt(c + d*x))/(b**5*d**3) - 240*cosh(a + b*sqrt(c + d*x))/(b**
6*d**3), True))

________________________________________________________________________________________

Giac [B]  time = 1.82975, size = 2074, normalized size = 5.99 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*cosh(a+b*(d*x+c)^(1/2)),x, algorithm="giac")

[Out]

(((sqrt(d*x + c)*b + a)*b^4*c^2 - a*b^4*c^2 - b^4*c^2*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 2*(sqrt(d*x + c)*b
+ a)^3*b^2*c + 6*(sqrt(d*x + c)*b + a)^2*a*b^2*c - 6*(sqrt(d*x + c)*b + a)*a^2*b^2*c + 2*a^3*b^2*c + 6*(sqrt(d
*x + c)*b + a)^2*b^2*c*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 12*(sqrt(d*x + c)*b + a)*a*b^2*c*sgn((sqrt(d*x + c
)*b + a)*b - a*b) + 6*a^2*b^2*c*sgn((sqrt(d*x + c)*b + a)*b - a*b) + (sqrt(d*x + c)*b + a)^5 - 5*(sqrt(d*x + c
)*b + a)^4*a + 10*(sqrt(d*x + c)*b + a)^3*a^2 - 10*(sqrt(d*x + c)*b + a)^2*a^3 + 5*(sqrt(d*x + c)*b + a)*a^4 -
 a^5 - 5*(sqrt(d*x + c)*b + a)^4*sgn((sqrt(d*x + c)*b + a)*b - a*b) + 20*(sqrt(d*x + c)*b + a)^3*a*sgn((sqrt(d
*x + c)*b + a)*b - a*b) - 30*(sqrt(d*x + c)*b + a)^2*a^2*sgn((sqrt(d*x + c)*b + a)*b - a*b) + 20*(sqrt(d*x + c
)*b + a)*a^3*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 5*a^4*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 12*(sqrt(d*x + c)
*b + a)*b^2*c + 12*a*b^2*c + 12*b^2*c*sgn((sqrt(d*x + c)*b + a)*b - a*b) + 20*(sqrt(d*x + c)*b + a)^3 - 60*(sq
rt(d*x + c)*b + a)^2*a + 60*(sqrt(d*x + c)*b + a)*a^2 - 20*a^3 - 60*(sqrt(d*x + c)*b + a)^2*sgn((sqrt(d*x + c)
*b + a)*b - a*b) + 120*(sqrt(d*x + c)*b + a)*a*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 60*a^2*sgn((sqrt(d*x + c)*
b + a)*b - a*b) + 120*sqrt(d*x + c)*b - 120*sgn((sqrt(d*x + c)*b + a)*b - a*b))*e^((sqrt(d*x + c)*b + a)*sgn((
sqrt(d*x + c)*b + a)*b - a*b) - a*sgn((sqrt(d*x + c)*b + a)*b - a*b) + a)/(b^5*d^2) - ((sqrt(d*x + c)*b + a)*b
^4*c^2 - a*b^4*c^2 + b^4*c^2*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 2*(sqrt(d*x + c)*b + a)^3*b^2*c + 6*(sqrt(d*
x + c)*b + a)^2*a*b^2*c - 6*(sqrt(d*x + c)*b + a)*a^2*b^2*c + 2*a^3*b^2*c - 6*(sqrt(d*x + c)*b + a)^2*b^2*c*sg
n((sqrt(d*x + c)*b + a)*b - a*b) + 12*(sqrt(d*x + c)*b + a)*a*b^2*c*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 6*a^2
*b^2*c*sgn((sqrt(d*x + c)*b + a)*b - a*b) + (sqrt(d*x + c)*b + a)^5 - 5*(sqrt(d*x + c)*b + a)^4*a + 10*(sqrt(d
*x + c)*b + a)^3*a^2 - 10*(sqrt(d*x + c)*b + a)^2*a^3 + 5*(sqrt(d*x + c)*b + a)*a^4 - a^5 + 5*(sqrt(d*x + c)*b
 + a)^4*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 20*(sqrt(d*x + c)*b + a)^3*a*sgn((sqrt(d*x + c)*b + a)*b - a*b) +
 30*(sqrt(d*x + c)*b + a)^2*a^2*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 20*(sqrt(d*x + c)*b + a)*a^3*sgn((sqrt(d*
x + c)*b + a)*b - a*b) + 5*a^4*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 12*(sqrt(d*x + c)*b + a)*b^2*c + 12*a*b^2*
c - 12*b^2*c*sgn((sqrt(d*x + c)*b + a)*b - a*b) + 20*(sqrt(d*x + c)*b + a)^3 - 60*(sqrt(d*x + c)*b + a)^2*a +
60*(sqrt(d*x + c)*b + a)*a^2 - 20*a^3 + 60*(sqrt(d*x + c)*b + a)^2*sgn((sqrt(d*x + c)*b + a)*b - a*b) - 120*(s
qrt(d*x + c)*b + a)*a*sgn((sqrt(d*x + c)*b + a)*b - a*b) + 60*a^2*sgn((sqrt(d*x + c)*b + a)*b - a*b) + 120*sqr
t(d*x + c)*b + 120*sgn((sqrt(d*x + c)*b + a)*b - a*b))*e^(-(sqrt(d*x + c)*b + a)*sgn((sqrt(d*x + c)*b + a)*b -
 a*b) + a*sgn((sqrt(d*x + c)*b + a)*b - a*b) - a)/(b^5*d^2))/(b*d)